package cc.yugu.yhdw.common.domain.hdw;

import java.util.Date;
import java.util.Map;

public class CabinetDayStats extends Stats {

    public CabinetDayStats(Map<String, Object> map) {
        agencyId = Integer.valueOf(map.get("agencyId").toString());
        agentId = Integer.valueOf(map.get("agentId").toString());
        cabinetId = map.get("cabinetId").toString();
        statsDate = map.get("statsDate").toString();
        money = Integer.valueOf(map.get("money").toString());
        chargeMoney = Integer.valueOf(map.get("chargeMoney").toString());
        orderCount = Integer.valueOf(map.get("orderCount").toString());
        updateTime = new Date();
    }
}
